# -*- coding: UTF-8 -*-
from multiprocessing import Process
import time
import random

def dtest():
    for i in range(random.randint(1,5)):
        print("___________%d"%i)
        time.sleep(1)
if __name__ == '__main__':

    p = Process(target=dtest)
    p.start()
    p.join()# 在等待着 test函数结束后才会执行下一步
    # 堵塞
    print("____main__")
